<!--{template common/header}-->

<div class="header cl">
	<div class="mz"><a href="javascript:history.back();"><i class="dm-c-left"></i></a></div>
	<h2>$_G[setting][navs][8][navname]</h2>
	<div class="my"><a href="<!--{if $_G['setting']['mobile']['mobilehotthread']}--><!--{if !empty($_G['setting']['grid']['showgrid'])}-->forum.php<!--{else}-->forum.php?mod=guide&view=newthread<!--{/if}--><!--{else}-->forum.php?forumlist=1<!--{/if}-->"><i class="dm-house"></i></a></div>
</div>

<!--{subtemplate ranklist/side_top}-->

<div id="ct" class="bodybox p10 cl">
	<!--{if $ranklist_setting['member']['available'] && $_G['setting']['ranklist']['membershow']}-->
	<div class="mb10">
		<div class="mb10 cl">
			<span class="y">
				<!--{if $_G[uid]}-->
					<a href="misc.php?mod=ranklist&type=member" class="xi1 xw1">{lang i_want_rank}</a>
					<span class="pipe">|</span>
				<!--{/if}-->
				<a href="misc.php?mod=ranklist&type=member" class="xi2">{lang more}&rsaquo;</a>
			</span>
			<h2>{lang bidding_rank}</h2>
		</div>
		<div class="bm_c bid">
			<ul class="biduser cl">
				<li class="bidtop">
					<!--{if $memberlist}-->
					<a href="home.php?mod=space&uid=$memberlist[0][uid]&do=profile" target="_blank" id="bid_$memberlist[0][uid]" class="hm" {if $memberlist[0][note]} onmouseover="showTip(this)" tip="$memberlist[0][username]: $memberlist[0][note]"{/if}><!--{avatar($memberlist[0]['uid'], 'middle')}--></a>
					<!--{/if}-->
				</li>
			<!--{eval unset($memberlist[0]);}-->
			<!--{loop $memberlist $member}-->
				<li>
					<a href="home.php?mod=space&uid=$member[uid]&do=profile" target="_blank" id="bid_$member[uid]" {if $member[note]} onmouseover="showTip(this)" tip="$member[username]: $member[note]"{/if}>$member[avatar]</a>
				</li>
			<!--{/loop}-->
			</ul>
		</div>
	</div>
	<!--{/if}-->

	<!--{if helper_access::check_module('album') && $ranklist_setting['picture']['available']}-->
	<div class="rnk1">
		<div class="mb10">
			<div class="mb10 cl">
				<span class="y xi2">
					<a href="misc.php?mod=ranklist&type=picture&view=hot&orderby=all">{lang more}&rsaquo;</a>
				</span>
				<h2>{lang ranklist_picture}</h2>
			</div>
			<div class="bm_c">
				<ul class="ml mlp cl">
					<!--{if $pictures}-->
					<li class="d bigpic">
						<div class="c">
							<a href="home.php?mod=space&uid=$pictures[0][uid]&do=album&picid=$pictures[0][picid]" target="_blank"><img src="$pictures[0][origurl]" alt="" /></a>
						</div>
						<p class="pt10"><a href="home.php?mod=space&uid=$pictures[0][uid]&do=album&picid=$pictures[0][picid]" target="_blank">$pictures[0][albumname]</a></p>
					</li>
					<!--{/if}-->
					<!--{eval unset($pictures[0]);}-->
					<!--{loop $pictures $pic}-->
					<li class="d">
						<div class="c">
							<a href="home.php?mod=space&uid=$pic[uid]&do=album&picid=$pic[picid]" target="_blank"><img src="$pic[url]" alt="" /></a>
						</div>
						<p class="pt10"><a href="home.php?mod=space&uid=$pic[uid]&do=album&picid=$pic[picid]" target="_blank">$pic[albumname]</a></p>
					</li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>
	<!--{/if}-->

	<!--{if helper_access::check_module('forum') && $ranklist_setting['thread']['available']}-->
	<div class="mb10">
		<div class="mb10 cl">
			<span class="y xi2"><a href="misc.php?mod=ranklist&type=thread&view=replies&orderby=$before">{lang more}&rsaquo;</a></span>
			<h2>{lang ranklist_thread}</h2>
		</div>
		<div class="bm_c">
			<ul class="xl xl2 cl">
				<!--{eval $key = 0;}-->
				<!--{loop $threads_hot $thread}-->
					<li{if $key++%2} class="xl2_r"{/if}>
						<em><a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">$thread[author]</a></em>
						&middot; <a href="forum.php?mod=viewthread&tid=$thread[tid]" target="_blank">$thread[subject]</a>
					</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
	<!--{/if}-->

	<!--{if helper_access::check_module('blog') && $ranklist_setting['blog']['available']}-->
	<div class="mb10">
		<div class="mb10 cl">
			<span class="y xi2"><a href="misc.php?mod=ranklist&type=blog&view=heats&orderby=$before">{lang more}&rsaquo;</a></span>
			<h2>{lang blog_ranklist}</h2>
		</div>
		<div class="bm_c">
			<ul class="xl xl2 cl">
				<!--{eval $key = 0;}-->
				<!--{loop $blogs_hot $blog}-->
					<li{if $key++%2} class="xl2_r"{/if}>
						<em><a href="home.php?mod=space&uid=$blog[uid]" target="_blank">$blog[username]</a></em>
						&middot; <a href="home.php?mod=space&uid=$blog[uid]&do=blog&id=$blog[blogid]" target="_blank">$blog[subject]</a>
					</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
	<!--{/if}-->

	<!--{if helper_access::check_module('forum') && $ranklist_setting['poll']['available']}-->
	<div class="mb10">
		<div class="mb10 cl">
			<span class="y xi2"><a href="misc.php?mod=ranklist&type=poll&view=heats&orderby=$before">{lang more}&rsaquo;</a></span>
			<h2>{lang ranklist_poll}</h2>
		</div>
		<div class="bm_c">
			<ul class="xl xl2 cl">
				<!--{eval $key = 0;}-->
				<!--{loop $polls_hot $poll}-->
					<li{if $key++%2} class="xl2_r"{/if}>
						<em><a href="home.php?mod=space&uid=$poll[authorid]" target="_blank">$poll[author]</a></em>
						&middot; <a href="forum.php?mod=viewthread&tid=$poll[tid]" target="_blank">$poll[subject]</a>
					</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
	<!--{/if}-->

	<!--{if helper_access::check_module('forum') && $ranklist_setting['activity']['available']}-->
	<div class="mb10">
		<div class="mb10 cl">
			<span class="y xi2"><a href="misc.php?mod=ranklist&type=activity&view=heats&orderby=$before">{lang more}&rsaquo;</a></span>
			<h2>{lang ranklist_activity}</h2>
		</div>
		<div class="bm_c">
			<ul class="xl xl2 cl">
				<!--{eval $key = 0;}-->
				<!--{loop $activities_hot $activity}-->
					<li{if $key++%2} class="xl2_r"{/if}>
						<em><a href="home.php?mod=space&uid=$activity[authorid]" target="_blank">$activity[author]</a></em>
						&middot; <a href="forum.php?mod=viewthread&tid=$activity[tid]" target="_blank">$activity[subject]</a>
					</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
	<!--{/if}-->
</div>

<!--{template common/footer}-->